//#ifndef __WIFI_H
//#define __WIFI_H

//#include "stm32f10x.h"

//// ESP8266相关变量
//extern volatile uint8_t esp8266_rx_buffer[1024];
//extern volatile uint8_t esp8266_rx_index;
//extern volatile uint8_t esp8266_connected;
//extern volatile uint32_t systemTick;  // 添加 extern 声明

//// 函数声明
//void WIFI_USART2_Configuration(void);
//void ESP8266_Init(void);
//uint8_t ESP8266_SendCmdAndWait(char* cmd, char* expect, uint32_t timeout_ms);
//uint8_t ESP8266_WaitForResponse(char* expect, uint32_t timeout_ms);
//void ESP8266_ClearBuffer(void);
//void SysTick_Init(void);  // 确保这个声明存在
//uint32_t GetSystemTick(void);
//uint8_t ESP8266_TestBasicCommunication(void);

//#endif